home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ DevStudio 1.xpl < prev    next >
Text File  |  2001-10-22  |  1KB  |  53 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="6"
  3. "COUNT"="1"
  4. "UIPATH"="Program Options\Other Programs\Visual C++"
  5. "NAME"="DMP Files"
  6. "VERSION"="1.00"
  7. "LANGUAGE"="VBScript"
  8. "TEXT 1"="Enable *.DMP files to be opened"
  9. "DESCRIPTION 1"="By default, Visual C++ 6.0 does not allow you to open DMP (Crash-Dump Files)"
  10. "DESCRIPTION 2"="Enabling this option allows you to open those *.DMP files with C++"
  11. "AUTHOR"="Xteq Systems"
  12. "CONTACTURL"="http://www.xteq.com/"
  13. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  14. "COMMENT 1"="from Microsoft System Journal 5/2001"
  15.  
  16.  
  17.  
  18. sP1="HKCU\Software\Microsoft\DevStudio\6.0\"
  19. sV1="Debug"
  20. Sub Plugin_Initialize 
  21.  if RegPathExists(sP1)=true then
  22.     s=RegReadValue(sP1 & sV1)
  23.     if s="1" then
  24.        SetUIElement 1,true
  25.     end if
  26.  else
  27.     Call Disable()
  28.  end if
  29. End Sub
  30.  
  31.  
  32. Sub Plugin_CheckData(ElementIndex)
  33. End Sub
  34.  
  35.  
  36.  
  37. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  38.  b=GetUIElement(1)
  39.  if b=true then
  40.     Call RegWriteValue(sP1 & sV1,"1",2)
  41.  else
  42.     Call RegWriteValue(sP1 & sV1,"0",2)
  43.  end if
  44.  
  45. End Sub
  46.  
  47.  
  48. Sub Plugin_Terminate 
  49. End Sub
  50.  
  51.  
  52.  
  53.